//
//  HDMenuView.h
//  JYG_Sales
//
//  Created by Mike on 15/10/26.
//  Copyright (c) 2015年 WeShare. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HDMenuViewDelegate <NSObject>
- (void)selectMenuIndex:(int)index;
@end

@interface HDMenuView : UIView
@property(nonatomic,assign)int selectedIndex;
@property(nonatomic,weak)id<HDMenuViewDelegate> delegate;
@property (nonatomic, strong)UIFont  *font;
@property (nonatomic, strong)UIFont  *selectedFont;
@property (nonatomic, strong)UIColor *selectedColor;
@property (nonatomic, strong)UIColor *normalColor;
@property (nonatomic, strong)UIColor *bottomLineColor;
@property (nonatomic, assign)float selectedViewHeight;
@property (nonatomic, assign)BOOL isHiddenGrayLine;
@property(nonatomic,copy)NSArray *titleArray;
- (id)initWithFrame:(CGRect)frame titleArray:(NSArray *)titleArray;
- (void)setTitleWithTitle:(NSString*)title AtIndex:(NSInteger)index;
@end
